package com.repast.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.repast.pojo.Orders;

public interface OrdersMapper {
    int deleteByPrimaryKey(Integer ordersId);

    int insert(Orders record);

    int insertSelective(Orders record);

    Orders selectByPrimaryKey(Integer ordersId);

    int updateByPrimaryKeySelective(Orders record);

    int updateByPrimaryKey(Orders record);

	List<Orders> selectOrdersByOrdersNum(String ordersNum);

	List<Orders> selectOrdersList(String openid);

	List<Orders> selectOrdersListByOpenidAndOrdersType(@Param("openid")String openid, @Param("ordersType")int ordersType);

}